<!--获取硬件配置.html-->
<div id="GetHardware">
    <h2>获取硬件配置-GetHardware()</h2>
    <div>
        <p><br /></p>
        <h3 class="title">描述：</h3>
        <div class="note">
            <p>获取实体硬件基本配置，包括但不限于：CPU信息、内存信息、显卡信息，硬盘信息</p>
            <p>如欲添加更多基本配置，请到Issues反馈！</p>
        </div>
        <p><br /></p>
        <h3 class="title">语法：</h3>
        <p class="code">
            <code class="sundry">
                <span class="function">GetHardware()</span>
            </code>
        </p>
        <p><br /></p>
        <h3 class="title">返回：</h3>
        <p class="code">
            <code class="sundry">
                <span>布尔值；struct结构体</span>
            </code>
        </p>
        <br />
        <div>
            <table>
                <tbody>
                    <tr>
                        <th>变量名</th>
                        <th>解释</th>
                        <th>数据类型</th>
                    </tr>
                    <tr>
                        <td>return</td>
                        <td>函数返回值</td>
                        <td>bool</td>
                    </tr>
                    <tr>
                        <td>LastError</td>
                        <td>错误代码，等同于GetLastError()</td>
                        <td>int</td>
                    </tr>
                    <tr>
                        <td>CPUInfo</td>
                        <td>CPU信息</td>
                        <td>char[128]</td>
                    </tr>
                    <tr>
                        <td>RAMInfo</td>
                        <td>内存信息</td>
                        <td>结构体</td>
                    </tr>
                    <tr>
                        <td>GPUInfo</td>
                        <td>显卡信息</td>
                        <td>（看情况）</td>
                    </tr>
                    <tr>
                        <td>DiskInfo</td>
                        <td>硬盘信息</td>
                        <td>（结构体）</td>
                    </tr>
                </tbody>
            </table>
        </div>
        <p><br /></p>
        <h3 class="title">示例：</h3>
        <p class="code">
            <code class="sundry">
                <span class="codenote">//&nbsp;未写</span>
            </code>
        </p>
    </div>
</div>